package com.xbfinance.portal.dao;


import java.util.List;

import com.xbfinance.portal.pojo.po.P2pUserHistory;
import com.xbfinance.portal.pojo.po.P2pUserHistoryExample;
import org.apache.ibatis.annotations.Param;

public interface P2pUserHistoryMapper {
    int countByExample(P2pUserHistoryExample example);

    int deleteByExample(P2pUserHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(P2pUserHistory record);

    int insertSelective(P2pUserHistory record);

    List<P2pUserHistory> selectByExample(P2pUserHistoryExample example);

    P2pUserHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") P2pUserHistory record, @Param("example") P2pUserHistoryExample example);

    int updateByExample(@Param("record") P2pUserHistory record, @Param("example") P2pUserHistoryExample example);

    int updateByPrimaryKeySelective(P2pUserHistory record);

    int updateByPrimaryKey(P2pUserHistory record);
}